home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000139_shifeux@hotmail.com_Fri Nov 9 10:36:27 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  83 lines

  1. Article: 12958 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!nycmny1-snh1.gtei.net!washdc3-snh1.gtei.net!news.gtei.net!feeder.qis.net!sn-xit-02!supernews.com!postnews1.google.com!not-for-mail
  3. From: shifeux@hotmail.com (Shifeux)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Kermit Connection Script
  6. Date: 9 Nov 2001 07:33:33 -0800
  7. Organization: http://groups.google.com/
  8. Lines: 64
  9. Message-ID: <336f652d.0111090733.6bcdb528@posting.google.com>
  10. References: <336f652d.0111060809.1f3e3640@posting.google.com> <9s947c$1kc$1@newsmaster.cc.columbia.edu>
  11. NNTP-Posting-Host: 146.145.217.201
  12. Content-Type: text/plain; charset=ISO-8859-1
  13. Content-Transfer-Encoding: 8bit
  14. X-Trace: posting.google.com 1005320013 20899 127.0.0.1 (9 Nov 2001 15:33:33 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: 9 Nov 2001 15:33:33 GMT
  17. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12958
  18.  
  19. I do get the point. I found that out right after I posted the message.
  20. Thanks for the help. I have aquestion about starting and stopping the
  21. kermit server itself. I execute the following command
  22.  
  23. wermit server_script.ksc 1> /dev/null &
  24.  
  25. to start the kermit in server mode. Now how can I end the kermit
  26. server mode with out actually killing off the processes.  The only way
  27. I have been able to stop the server is finding the PID and kill -9 the
  28. PID. But that bothers me. I would like to be able to set the server to
  29. run via the cron and then turn it off via another cron entry? Is this
  30. possible?
  31. Thanks
  32.  
  33. fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote in message news:<9s947c$1kc$1@newsmaster.cc.columbia.edu>...
  34. > In article <336f652d.0111060809.1f3e3640@posting.google.com>,
  35. > Shifeux <shifeux@hotmail.com> wrote:
  36. > : Hello, I am testing a kermit server script and a connection script to
  37. > : that particular kermit server.  I am running the kermit server on an
  38. > : IBM AIX4.3.3 server and I am writing the dial script on a DG-UX
  39. > : machine.  The server works fine as long as I login and issue commands
  40. > : manually. When I script the login however i get a "protocol error"
  41. > : telling me that a "login is required".  Below is a copy of the server
  42. > : log.
  43. > : 
  44. > : Transaction Log: C-Kermit 8.0.200 Beta.03, 9 Sep 2001
  45. > :  IBM AIX 4.3
  46. > : Tue Nov  6 10:33:04 2001
  47. > : 
  48. > : Remote system type:  UNIX
  49. > : Protocol Error: Logout ignored
  50. > : 
  51. > : In the client connection script I am trying to perform the following
  52. > : routine to test for files present on the server and to get them if
  53. > : they exsist.
  54. > : 
  55. > : ; Scripted login/password credentials, script will check at each stage of
  56. > : ; the authentication to ensure that session communications are not lost
  57. > : 
  58. > : output remote login \%l \%p\13               ; send remote login
  59. > :                                              ; command to kermit server
  60. > : 
  61. > Remove "output" from this command.
  62. > : write TRANSACTION-LOG Login Successful. \13\10\13\10
  63. > : 
  64. > This should be:
  65. >   if failure exit 1 Server login failed
  66. >   write TRANSACTION-LOG Login Successful. \13\10\13\10
  67. > : write TRANSACTION-LOG Sending request to download ** RESULTS **\13\10
  68. > : 
  69. > : ; Perform a query on the host server for files called test.*
  70. > : ; The \v(query) variable will be 0 if no files match and
  71. > : ; 1 if any files match.
  72. > : 
  73. > : output remote query kermit files(test.*)
  74. > : 
  75. > Remove "output" from this command.
  76. > And so on, you get the idea.
  77. > - Frank
  78.